package com.iplay.thezen.bridge.eg;

/**
 * @author dangwu
 * @since 2021/9/27 6:03 下午
 */
public class Client {
    public static void main(String[] args) {
        House house = new House();
        HouseCorp houseCorp = new HouseCorp(house);
        houseCorp.makeMoney();

//        ShanZhaiCorp shanZhaiCorp = new ShanZhaiCorp(new Ipod());
        ShanZhaiCorp shanZhaiCorp = new ShanZhaiCorp(new Clothes());
        shanZhaiCorp.makeMoney();

    }
}
